import request from '@/utils/request'

// 获取文章信息
export function getArticleInfo(articleId) {
    return request({
        url: '/ams/article/info/' + articleId,
        method: 'get',
    })
}

// 查看文章列表
export function listArticle(query) {
    return request({
        url: '/ams/article/list',
        method: 'get',
        params: query
    })
}